HTML5 & CSS3: A Step-by-Step guide for beginners to build and design responsive and engaging websites with html5 and css3 by Andreas Maurer

HTML5 & CSS3: A Step-by-Step guide for beginners to build and design responsive and engaging websites with html5 and css3 by Andreas Maurer

Author:Andreas Maurer [Maurer, Andreas]
Language: eng
Format: azw3, epub
Published: 2020-11-03T00:00:00+00:00


Chapter 09

Size Indications

In this chapter, you will learn about

​ 9.1: Size and types of size

​ 9.2: Using appropriate size

Section 9.1: Size and types of Size

Size

While cascading HTML elements with CSS the most of CSS attribute require length in their value which is called size of that attribute for example border, font-size, padding, margin, width and height require the size. The size consists of two components first one is magnitude and second its unit. There would be no space between magnitude and unit and we cannot write only magnitude without unit because there is not any default unit in CSS. The only exception is in case of 0 magnitude. No unit require with zero size. There are two types of size in CSS:

Absolute Size

Relative Size



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.